<?php
//congregation Component//
/**
* Content code
* @package congregation
* @Copyright (C) 12/04/2006
* @ All rights reserved
* @ Released copyrighted
* @version 0.1
**/


defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
// include support libraries
require_once( $mainframe->getPath( 'toolbar_html' ) );

// handle the task
$task = mosGetParam( $_REQUEST, 'task', '' );
$rub = mosGetParam( $_REQUEST, 'rub', '' );

switch($task) {
	case 'edit':
	case 'new':
	case 'add':
		TOOLBAR_congregation::_EDIT();
		break;
	default:
		TOOLBAR_congregation::_DEFAULT();
		break;
}


?>